package biz

import (
	"context"
	"github.com/go-kratos/kratos/v2/log"
)

type Stream struct {
	streamID int64
	serverID int64
	SDP string
}

type SignalRepo interface {
	AddStream()
	DeleteStream()
	ConfigStream()
}

type SignalUseCase struct {
	repo SignalRepo
	log  *log.Helper
}

func NewSignalUseCase(repo SignalRepo, logger log.Logger) *SignalUseCase {
	return &SignalUseCase{repo: repo, log: log.NewHelper(log.With(logger))}
}

func(sc *SignalUseCase)AddStream(ctx context.Context, streamID int64, serverID int64) (s *Stream, err error) {
	return
}

func(sc *SignalUseCase)DeleteStream(ctx context.Context, streamID int64, serverID int64) (s *Stream, err error) {
	return
}

func(sc *SignalUseCase)ConfigStream(ctx context.Context, streamID int64, serverID int64) (s *Stream, err error) {
	return
}
